<template>
  <div id="app">
    <Home v-if="!$route.meta.isLogin"></Home>
    <keep-alive>
      <router-view v-if="$route.meta.isLogin" />
    </keep-alive>
  </div>
</template>

<script>
import Home from "./views/Home";
export default {
  name: 'app',
  data () {
    return {
    }
  },
  components: {
    Home
  }
}
</script>

<style scoped lang="scss">
.container{
  height: 100%;
  .header{
    padding: 0;
    .logo{
      float: left;
    }
    .user-info{
      float: right;
    }
  }
}
</style>
